<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver CH9121: src/driver_ch9121.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver CH9121
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">CH9121 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ch9121_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_ch9121.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__ch9121_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef DRIVER_CH9121_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define DRIVER_CH9121_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#ifndef CH9121_UART_PRE_DELAY</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gaf0819c9c7faa65567adecbfe6b5c1bc5">   63</a></span>&#160;<span class="preprocessor">    #define CH9121_UART_PRE_DELAY    10        </span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">   69</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;{</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ggaa237c01198f7eefe10d865ae5acef0f8aff6d2cff524167d0f2643bbcf984ea4f">   71</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#ggaa237c01198f7eefe10d865ae5acef0f8aff6d2cff524167d0f2643bbcf984ea4f">CH9121_PORT1</a> = 0x00,        </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ggaa237c01198f7eefe10d865ae5acef0f8a2d106209a49642e1fc14c3d0d50dfd0b">   72</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#ggaa237c01198f7eefe10d865ae5acef0f8a2d106209a49642e1fc14c3d0d50dfd0b">CH9121_PORT2</a> = 0x01,        </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;} <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">   78</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;{</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga072a08d5a76de43c772438883775ae8ea1bfd3219c201035143f8d61b0d188a11">   80</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga072a08d5a76de43c772438883775ae8ea1bfd3219c201035143f8d61b0d188a11">CH9121_BOOL_FALSE</a> = 0x00,        </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga072a08d5a76de43c772438883775ae8ea776657b5ef1ad43c3a3f1e52a00abe22">   81</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga072a08d5a76de43c772438883775ae8ea776657b5ef1ad43c3a3f1e52a00abe22">CH9121_BOOL_TRUE</a>  = 0x01,        </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;} <a class="code" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ga96cfac2dc742c18219de2263f7cd9ca5">   87</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;{</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga96cfac2dc742c18219de2263f7cd9ca5af8d0734b6b03a6a7d13b653163d00271">   89</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga96cfac2dc742c18219de2263f7cd9ca5af8d0734b6b03a6a7d13b653163d00271">CH9121_STATUS_DISCONNECT</a> = 0x00,        </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga96cfac2dc742c18219de2263f7cd9ca5ad6c9da3731fc5e4c0512207ffab0c351">   90</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga96cfac2dc742c18219de2263f7cd9ca5ad6c9da3731fc5e4c0512207ffab0c351">CH9121_STATUS_CONNECT</a>    = 0x01,        </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;} <a class="code" href="group__ch9121__base__driver.html#ga96cfac2dc742c18219de2263f7cd9ca5">ch9121_status_t</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">   96</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;{</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16aadc6c8b1f132f07caf14d1349be24598">   98</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16aadc6c8b1f132f07caf14d1349be24598">CH9121_MODE_TCP_SERVER</a> = 0x00,        </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16ab66dffa5b1e5f60f96e91f3909bc9cf8">   99</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16ab66dffa5b1e5f60f96e91f3909bc9cf8">CH9121_MODE_TCP_CLIENT</a> = 0x01,        </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16a4775481c1370e70fa78ef7846424f8e0">  100</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16a4775481c1370e70fa78ef7846424f8e0">CH9121_MODE_UDP_SERVER</a> = 0x02,        </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16ac076c7cf5ed640ca07f9698fbfd17eda">  101</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16ac076c7cf5ed640ca07f9698fbfd17eda">CH9121_MODE_UDP_CLIENT</a> = 0x03,        </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;} <a class="code" href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">ch9121_mode_t</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ga07220e3de8bd64e49f66fa5b10a0e80e">  107</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;{</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea681a6976b74755d5de27c6e3348a6771">  109</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea681a6976b74755d5de27c6e3348a6771">CH9121_PARITY_EVEN</a>  = 0x00,        </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea7f51ff40bf41962fef63d2885c50adab">  110</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea7f51ff40bf41962fef63d2885c50adab">CH9121_PARITY_ODD</a>   = 0x01,        </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea6edd8794ba8b703e9c6ff4d6252ba69f">  111</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea6edd8794ba8b703e9c6ff4d6252ba69f">CH9121_PARITY_MARK</a>  = 0x02,        </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80eae332f48bf918e608fe4ce6c4cfc7b18f">  112</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80eae332f48bf918e608fe4ce6c4cfc7b18f">CH9121_PARITY_SPACE</a> = 0x03,        </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80eae92b585a2a716954404ccca52a44b116">  113</a></span>&#160;    <a class="code" href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80eae92b585a2a716954404ccca52a44b116">CH9121_PARITY_NONE</a>  = 0x04,        </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;} <a class="code" href="group__ch9121__base__driver.html#ga07220e3de8bd64e49f66fa5b10a0e80e">ch9121_parity_t</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html">  119</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structch9121__handle__s.html">ch9121_handle_s</a></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;{</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#ad6e221373f53cf56fdeec9c64bbc6423">  121</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#ad6e221373f53cf56fdeec9c64bbc6423">uart_init</a>)(void);                               </div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a57faa7438fdabb6134dabb8b386707a8">  122</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#a57faa7438fdabb6134dabb8b386707a8">uart_deinit</a>)(void);                             </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a9f6681bb2ac30875d94d016ad0137ab2">  123</a></span>&#160;    uint16_t (*<a class="code" href="structch9121__handle__s.html#a9f6681bb2ac30875d94d016ad0137ab2">uart_read</a>)(uint8_t *<a class="code" href="structch9121__handle__s.html#aa2665ebcc94066966583ee7c2c754862">buf</a>, uint16_t len);        </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a1926b171e2786f52634d78953df6612a">  124</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#a1926b171e2786f52634d78953df6612a">uart_flush</a>)(void);                              </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a280c8d239a837172fc2fee6eaec7edff">  125</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#a280c8d239a837172fc2fee6eaec7edff">uart_write</a>)(uint8_t *<a class="code" href="structch9121__handle__s.html#aa2665ebcc94066966583ee7c2c754862">buf</a>, uint16_t len);        </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#aa264e23f5c4ddd7a9bfa5cd9e387e013">  126</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#aa264e23f5c4ddd7a9bfa5cd9e387e013">reset_gpio_init</a>)(void);                         </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a69c42ff05fc69e3f1621f3c0347a840b">  127</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#a69c42ff05fc69e3f1621f3c0347a840b">reset_gpio_deinit</a>)(void);                       </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#ae88962c62483f005e4930e9ca4b00981">  128</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#ae88962c62483f005e4930e9ca4b00981">reset_gpio_write</a>)(uint8_t data);                </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a5445edc92e4f3073c043256cc2b6abe3">  129</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#a5445edc92e4f3073c043256cc2b6abe3">cfg_gpio_init</a>)(void);                           </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#aff3aa3dbc5a9418f2e32ee48dd94b627">  130</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#aff3aa3dbc5a9418f2e32ee48dd94b627">cfg_gpio_deinit</a>)(void);                         </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a1e401eba1e551e7d52941117ee22dd60">  131</a></span>&#160;    uint8_t (*<a class="code" href="structch9121__handle__s.html#a1e401eba1e551e7d52941117ee22dd60">cfg_gpio_write</a>)(uint8_t data);                  </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a406c9433252b7366de417b7a60915c81">  132</a></span>&#160;    void (*<a class="code" href="structch9121__handle__s.html#a406c9433252b7366de417b7a60915c81">delay_ms</a>)(uint32_t ms);                            </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">  133</a></span>&#160;    void (*<a class="code" href="structch9121__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">debug_print</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> fmt, ...);          </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">  134</a></span>&#160;    uint8_t <a class="code" href="structch9121__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">inited</a>;                                           </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structch9121__handle__s.html#aa2665ebcc94066966583ee7c2c754862">  135</a></span>&#160;    uint8_t <a class="code" href="structch9121__handle__s.html#aa2665ebcc94066966583ee7c2c754862">buf</a>[128];                                         </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ga6dc45bcf5de725fd18b9fc3c4500a54d">  136</a></span>&#160;} <a class="code" href="group__ch9121__base__driver.html#ga6dc45bcf5de725fd18b9fc3c4500a54d">ch9121_handle_t</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structch9121__info__s.html">  141</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structch9121__info__s.html">ch9121_info_s</a></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#af890958c72bd715cc6454a10dc846ae6">  143</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structch9121__info__s.html#af890958c72bd715cc6454a10dc846ae6">chip_name</a>[32];                </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea">  144</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structch9121__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea">manufacturer_name</a>[32];        </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28">  145</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structch9121__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28">interface</a>[8];                 </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a">  146</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structch9121__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a">supply_voltage_min_v</a>;        </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660">  147</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structch9121__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660">supply_voltage_max_v</a>;        </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#a9db82802561bf22d799b03a345f1d1dc">  148</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structch9121__info__s.html#a9db82802561bf22d799b03a345f1d1dc">max_current_ma</a>;              </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e">  149</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structch9121__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e">temperature_min</a>;             </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6">  150</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structch9121__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6">temperature_max</a>;             </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structch9121__info__s.html#a41b0bd442708b70d252c50b92c75265a">  151</a></span>&#160;    uint32_t <a class="code" href="structch9121__info__s.html#a41b0bd442708b70d252c50b92c75265a">driver_version</a>;           </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="group__ch9121__base__driver.html#ga64b13a4c2b573c1bd9e28471e7c4507f">  152</a></span>&#160;} <a class="code" href="group__ch9121__base__driver.html#ga64b13a4c2b573c1bd9e28471e7c4507f">ch9121_info_t</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga409c3dd931fe613dc84f993d5dbc8c4f">  171</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_INIT(HANDLE, STRUCTURE)          memset(HANDLE, 0, sizeof(STRUCTURE))</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga6e61223b55c40df66fcfb6e69d9131ef">  179</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_UART_INIT(HANDLE, FUC)           (HANDLE)-&gt;uart_init = FUC</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga40b113b7c859b827abfd6780377a5502">  187</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_UART_DEINIT(HANDLE, FUC)         (HANDLE)-&gt;uart_deinit = FUC</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#gad0fe6d513f62acdb4dbb9e8420c93825">  195</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_UART_READ(HANDLE, FUC)           (HANDLE)-&gt;uart_read = FUC</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga69b27dfd7e601bc5c17a7d5dafa850cc">  203</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_UART_WRITE(HANDLE, FUC)          (HANDLE)-&gt;uart_write = FUC</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#gafb2a67ee1bfbdd847988cdd396257371">  211</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_UART_FLUSH(HANDLE, FUC)          (HANDLE)-&gt;uart_flush = FUC</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga40a4aed5ba0e1f4efd1efe2fc7ecea5d">  219</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_RESET_GPIO_INIT(HANDLE, FUC)     (HANDLE)-&gt;reset_gpio_init = FUC</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#gae85970c93a3c9d98dec1ccb33ad375db">  227</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_RESET_GPIO_DEINIT(HANDLE, FUC)   (HANDLE)-&gt;reset_gpio_deinit = FUC</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga1182541d507b220cf1866d521ae6bd5e">  235</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_RESET_GPIO_WRITE(HANDLE, FUC)    (HANDLE)-&gt;reset_gpio_write = FUC</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#gaffff92abb09f96162331cc20d6aceebe">  243</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_CFG_GPIO_INIT(HANDLE, FUC)       (HANDLE)-&gt;cfg_gpio_init = FUC</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#gaf5b8ff6f7e29bcd379ac5e2ff0b21a28">  251</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_CFG_GPIO_DEINIT(HANDLE, FUC)     (HANDLE)-&gt;cfg_gpio_deinit = FUC</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga7bf647ca4b41eade29b7f036d6de3ddf">  259</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_CFG_GPIO_WRITE(HANDLE, FUC)      (HANDLE)-&gt;cfg_gpio_write = FUC</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga8af2fa23a714ca60a19362abb8aa8d2f">  267</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_DELAY_MS(HANDLE, FUC)            (HANDLE)-&gt;delay_ms = FUC</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="group__ch9121__link__driver.html#ga1747903d6a185534d10073922e354c0a">  275</a></span>&#160;<span class="preprocessor">#define DRIVER_CH9121_LINK_DEBUG_PRINT(HANDLE, FUC)         (HANDLE)-&gt;debug_print = FUC</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160; </div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga2bc209bc96bc112c30b21f9728812e2c">ch9121_info</a>(<a class="code" href="structch9121__info__s.html">ch9121_info_t</a> *info);</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga10ec3831683691a58c4f8b51572e0576">ch9121_init</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle);</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160; </div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga50583196c51bf2199c588bc60d9cc1f6">ch9121_deinit</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle);</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160; </div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga52e9895a3f0777c15bd3f6ecd42d50d8">ch9121_read</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t *buf, uint16_t *len);</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160; </div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaf5607dae69f7c7df32f11ae4c3b4a376">ch9121_write</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t *buf, uint16_t len);</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160; </div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gad79a97224fb88e872af00e62a34883b2">ch9121_get_version</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t *version);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga590150199f4c795ca1b2aa553f1f8933">ch9121_reset</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle);</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga77e5d4780e16f8f820c4eaba204fd7be">ch9121_save_to_eeprom</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle);</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga42c3f2032acd289900bb7aece12b08c7">ch9121_config_and_reset</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle);</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160; </div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gae09655171b845f0b82c0d5f5fb64b020">ch9121_exit</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle);</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160; </div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga20b05e4d19f80d40ae9287f367e75d82">ch9121_set_dhcp</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a> enable);</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; </div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaef57bbffd080f9ba360f2e1e54f15d36">ch9121_get_mac</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t mac[6]);</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160; </div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga3c7f6c035eb9e7636fc69e54e668cdf4">ch9121_set_ip</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t ip[4]);</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160; </div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga0b0ac5aadb82af97326b5ac5c8eaa92b">ch9121_get_ip</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t ip[4]);</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160; </div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaa58f8a9bc5ea8ba90f7b4a176900c687">ch9121_set_subnet_mask</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t mask[4]);</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160; </div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga7bd131a9843a9976172ae8006374014c">ch9121_get_subnet_mask</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t mask[4]);</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; </div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gac350933b6954437b6f0f5a79806614f1">ch9121_set_gateway</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t ip[4]);</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160; </div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga4013583c0d4693385e7ff23490412c68">ch9121_get_gateway</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t ip[4]);</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; </div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160; </div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gae739f01edc3fdd207a5a038b93f848d1">ch9121_get_status</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, <a class="code" href="group__ch9121__base__driver.html#ga96cfac2dc742c18219de2263f7cd9ca5">ch9121_status_t</a> *status);</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; </div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga665891e0f0acc62dcee01023e750602b">ch9121_set_mode</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, <a class="code" href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">ch9121_mode_t</a> mode);</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160; </div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gae24e26beb237e4cd3e71fff9af24a6bb">ch9121_get_mode</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, <a class="code" href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">ch9121_mode_t</a> *mode);</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160; </div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gac44d822e00e68aa0f6827cdd6ffc8de1">ch9121_set_source_port</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint16_t num);</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160; </div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaec01c7865245fda2b9ffb382cecd8a1e">ch9121_get_source_port</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint16_t *num);</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160; </div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga738113547dfbf5d9f03fcaa7c964be38">ch9121_set_dest_ip</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint8_t ip[4]);</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160; </div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga9b20f132d6d27a08e68ac0693524643a">ch9121_get_dest_ip</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint8_t ip[4]);</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160; </div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gad8a38b0c407658283a7fe74267e30bb3">ch9121_set_dest_port</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint16_t num);</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160; </div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga740e7e3d8f77ded2e19aea7775903049">ch9121_get_dest_port</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint16_t *num);</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160; </div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga1e4f3caefef25d5075afb5e10fcd6e17">ch9121_set_uart_baud</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint32_t baud);</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160; </div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gab9677250e33483d30b61089ccc8884e7">ch9121_get_uart_baud</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint32_t *baud);</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160; </div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga93c63b2979c6397cb38c28253a4bc329">ch9121_set_uart_config</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint8_t data_bit, <a class="code" href="group__ch9121__base__driver.html#ga07220e3de8bd64e49f66fa5b10a0e80e">ch9121_parity_t</a> parity, uint8_t stop_bit);</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160; </div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga9f919b38ab9a62a8d4284b172a52d568">ch9121_get_uart_config</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint8_t *data_bit, <a class="code" href="group__ch9121__base__driver.html#ga07220e3de8bd64e49f66fa5b10a0e80e">ch9121_parity_t</a> *parity, uint8_t *stop_bit);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160; </div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gabf684cf8b18467676b86d14aa9bcdf61">ch9121_set_uart_timeout</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint8_t timeout);</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160; </div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga69372bd9447d192539800c2b2de9235d">ch9121_get_uart_timeout</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint8_t *timeout);</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160; </div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaa2ebeccee89d188def4cd04451590e17">ch9121_uart_timeout_convert_to_register</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint16_t ms, uint8_t *reg);</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160; </div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga6acdb73fe1254a41aefe4532bf11083e">ch9121_uart_timeout_convert_to_data</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, uint8_t reg, uint16_t *ms);</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160; </div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga625fda7608944799b1e22e22862e8780">ch9121_set_source_port_random</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, <a class="code" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a> enable);</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160; </div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaef0c2eaab67024a3ffaf84e46dcf5146">ch9121_set_uart_buffer_length</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, uint32_t len);</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160; </div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga4c2122bad56f0373fa33d829a2fcc19b">ch9121_set_uart_flush</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a> port, <a class="code" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a> enable);</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160; </div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gad17c12e1cc279fbeb0d7604311dc3796">ch9121_set_port2</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a> enable);</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160; </div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#ga4510caa0dea208d4dff25816d502a78a">ch9121_set_disconnect_with_no_rj45</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <a class="code" href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a> enable);</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160; </div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;uint8_t <a class="code" href="group__ch9121__base__driver.html#gaaea8304fd7622328628752547f3e72cf">ch9121_set_domain</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle, <span class="keywordtype">char</span> *domain);</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160; </div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;uint8_t <a class="code" href="group__ch9121__extend__driver.html#gaab68bb8fb0ed1e297469474d1f591d41">ch9121_set_command</a>(<a class="code" href="structch9121__handle__s.html">ch9121_handle_t</a> *handle,</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;                           uint8_t *param, uint16_t len,</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;                           uint8_t *out, uint16_t out_len,</div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;                           uint16_t pre_delay, uint16_t timeout);</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160; </div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;}</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160; </div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga07220e3de8bd64e49f66fa5b10a0e80e"><div class="ttname"><a href="group__ch9121__base__driver.html#ga07220e3de8bd64e49f66fa5b10a0e80e">ch9121_parity_t</a></div><div class="ttdeci">ch9121_parity_t</div><div class="ttdoc">ch9121 parity enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00107">driver_ch9121.h:108</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga072a08d5a76de43c772438883775ae8e"><div class="ttname"><a href="group__ch9121__base__driver.html#ga072a08d5a76de43c772438883775ae8e">ch9121_bool_t</a></div><div class="ttdeci">ch9121_bool_t</div><div class="ttdoc">ch9121 bool enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00078">driver_ch9121.h:79</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga0b0ac5aadb82af97326b5ac5c8eaa92b"><div class="ttname"><a href="group__ch9121__base__driver.html#ga0b0ac5aadb82af97326b5ac5c8eaa92b">ch9121_get_ip</a></div><div class="ttdeci">uint8_t ch9121_get_ip(ch9121_handle_t *handle, uint8_t ip[4])</div><div class="ttdoc">get ip address</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00682">driver_ch9121.c:682</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga10ec3831683691a58c4f8b51572e0576"><div class="ttname"><a href="group__ch9121__base__driver.html#ga10ec3831683691a58c4f8b51572e0576">ch9121_init</a></div><div class="ttdeci">uint8_t ch9121_init(ch9121_handle_t *handle)</div><div class="ttdoc">initialize the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01699">driver_ch9121.c:1699</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga1885e76e565351e002b873668e4a9d16"><div class="ttname"><a href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">ch9121_mode_t</a></div><div class="ttdeci">ch9121_mode_t</div><div class="ttdoc">ch9121 mode enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00096">driver_ch9121.h:97</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga1e4f3caefef25d5075afb5e10fcd6e17"><div class="ttname"><a href="group__ch9121__base__driver.html#ga1e4f3caefef25d5075afb5e10fcd6e17">ch9121_set_uart_baud</a></div><div class="ttdeci">uint8_t ch9121_set_uart_baud(ch9121_handle_t *handle, ch9121_port_t port, uint32_t baud)</div><div class="ttdoc">set uart baud</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01126">driver_ch9121.c:1126</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga20b05e4d19f80d40ae9287f367e75d82"><div class="ttname"><a href="group__ch9121__base__driver.html#ga20b05e4d19f80d40ae9287f367e75d82">ch9121_set_dhcp</a></div><div class="ttdeci">uint8_t ch9121_set_dhcp(ch9121_handle_t *handle, ch9121_bool_t enable)</div><div class="ttdoc">enable or disable dhcp</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00444">driver_ch9121.c:444</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga2bc209bc96bc112c30b21f9728812e2c"><div class="ttname"><a href="group__ch9121__base__driver.html#ga2bc209bc96bc112c30b21f9728812e2c">ch9121_info</a></div><div class="ttdeci">uint8_t ch9121_info(ch9121_info_t *info)</div><div class="ttdoc">get chip's information</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l02007">driver_ch9121.c:2007</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga3c7f6c035eb9e7636fc69e54e668cdf4"><div class="ttname"><a href="group__ch9121__base__driver.html#ga3c7f6c035eb9e7636fc69e54e668cdf4">ch9121_set_ip</a></div><div class="ttdeci">uint8_t ch9121_set_ip(ch9121_handle_t *handle, uint8_t ip[4])</div><div class="ttdoc">set ip address</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00644">driver_ch9121.c:644</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga4013583c0d4693385e7ff23490412c68"><div class="ttname"><a href="group__ch9121__base__driver.html#ga4013583c0d4693385e7ff23490412c68">ch9121_get_gateway</a></div><div class="ttdeci">uint8_t ch9121_get_gateway(ch9121_handle_t *handle, uint8_t ip[4])</div><div class="ttdoc">get gateway</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00826">driver_ch9121.c:826</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga42c3f2032acd289900bb7aece12b08c7"><div class="ttname"><a href="group__ch9121__base__driver.html#ga42c3f2032acd289900bb7aece12b08c7">ch9121_config_and_reset</a></div><div class="ttdeci">uint8_t ch9121_config_and_reset(ch9121_handle_t *handle)</div><div class="ttdoc">config and reset the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00376">driver_ch9121.c:376</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga4510caa0dea208d4dff25816d502a78a"><div class="ttname"><a href="group__ch9121__base__driver.html#ga4510caa0dea208d4dff25816d502a78a">ch9121_set_disconnect_with_no_rj45</a></div><div class="ttdeci">uint8_t ch9121_set_disconnect_with_no_rj45(ch9121_handle_t *handle, ch9121_bool_t enable)</div><div class="ttdoc">enable or disable disconnect with no rj45</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01620">driver_ch9121.c:1620</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga4c2122bad56f0373fa33d829a2fcc19b"><div class="ttname"><a href="group__ch9121__base__driver.html#ga4c2122bad56f0373fa33d829a2fcc19b">ch9121_set_uart_flush</a></div><div class="ttdeci">uint8_t ch9121_set_uart_flush(ch9121_handle_t *handle, ch9121_port_t port, ch9121_bool_t enable)</div><div class="ttdoc">enable or disable uart auto flush</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01543">driver_ch9121.c:1543</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga50583196c51bf2199c588bc60d9cc1f6"><div class="ttname"><a href="group__ch9121__base__driver.html#ga50583196c51bf2199c588bc60d9cc1f6">ch9121_deinit</a></div><div class="ttdeci">uint8_t ch9121_deinit(ch9121_handle_t *handle)</div><div class="ttdoc">close the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01841">driver_ch9121.c:1841</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga52e9895a3f0777c15bd3f6ecd42d50d8"><div class="ttname"><a href="group__ch9121__base__driver.html#ga52e9895a3f0777c15bd3f6ecd42d50d8">ch9121_read</a></div><div class="ttdeci">uint8_t ch9121_read(ch9121_handle_t *handle, uint8_t *buf, uint16_t *len)</div><div class="ttdoc">read data</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01934">driver_ch9121.c:1934</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga590150199f4c795ca1b2aa553f1f8933"><div class="ttname"><a href="group__ch9121__base__driver.html#ga590150199f4c795ca1b2aa553f1f8933">ch9121_reset</a></div><div class="ttdeci">uint8_t ch9121_reset(ch9121_handle_t *handle)</div><div class="ttdoc">reset the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00309">driver_ch9121.c:309</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga625fda7608944799b1e22e22862e8780"><div class="ttname"><a href="group__ch9121__base__driver.html#ga625fda7608944799b1e22e22862e8780">ch9121_set_source_port_random</a></div><div class="ttdeci">uint8_t ch9121_set_source_port_random(ch9121_handle_t *handle, ch9121_port_t port, ch9121_bool_t enable)</div><div class="ttdoc">enable or disable random source port number</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01454">driver_ch9121.c:1454</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga64b13a4c2b573c1bd9e28471e7c4507f"><div class="ttname"><a href="group__ch9121__base__driver.html#ga64b13a4c2b573c1bd9e28471e7c4507f">ch9121_info_t</a></div><div class="ttdeci">struct ch9121_info_s ch9121_info_t</div><div class="ttdoc">ch9121 information structure definition</div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga665891e0f0acc62dcee01023e750602b"><div class="ttname"><a href="group__ch9121__base__driver.html#ga665891e0f0acc62dcee01023e750602b">ch9121_set_mode</a></div><div class="ttdeci">uint8_t ch9121_set_mode(ch9121_handle_t *handle, ch9121_port_t port, ch9121_mode_t mode)</div><div class="ttdoc">set mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00558">driver_ch9121.c:558</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga69372bd9447d192539800c2b2de9235d"><div class="ttname"><a href="group__ch9121__base__driver.html#ga69372bd9447d192539800c2b2de9235d">ch9121_get_uart_timeout</a></div><div class="ttdeci">uint8_t ch9121_get_uart_timeout(ch9121_handle_t *handle, ch9121_port_t port, uint8_t *timeout)</div><div class="ttdoc">get uart timeout</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01358">driver_ch9121.c:1358</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga6acdb73fe1254a41aefe4532bf11083e"><div class="ttname"><a href="group__ch9121__base__driver.html#ga6acdb73fe1254a41aefe4532bf11083e">ch9121_uart_timeout_convert_to_data</a></div><div class="ttdeci">uint8_t ch9121_uart_timeout_convert_to_data(ch9121_handle_t *handle, uint8_t reg, uint16_t *ms)</div><div class="ttdoc">convert the register raw data to the offset</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01426">driver_ch9121.c:1426</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga6dc45bcf5de725fd18b9fc3c4500a54d"><div class="ttname"><a href="group__ch9121__base__driver.html#ga6dc45bcf5de725fd18b9fc3c4500a54d">ch9121_handle_t</a></div><div class="ttdeci">struct ch9121_handle_s ch9121_handle_t</div><div class="ttdoc">ch9121 handle structure definition</div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga738113547dfbf5d9f03fcaa7c964be38"><div class="ttname"><a href="group__ch9121__base__driver.html#ga738113547dfbf5d9f03fcaa7c964be38">ch9121_set_dest_ip</a></div><div class="ttdeci">uint8_t ch9121_set_dest_ip(ch9121_handle_t *handle, ch9121_port_t port, uint8_t ip[4])</div><div class="ttdoc">set dest ip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00949">driver_ch9121.c:949</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga740e7e3d8f77ded2e19aea7775903049"><div class="ttname"><a href="group__ch9121__base__driver.html#ga740e7e3d8f77ded2e19aea7775903049">ch9121_get_dest_port</a></div><div class="ttdeci">uint8_t ch9121_get_dest_port(ch9121_handle_t *handle, ch9121_port_t port, uint16_t *num)</div><div class="ttdoc">get dest port</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01082">driver_ch9121.c:1082</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga77e5d4780e16f8f820c4eaba204fd7be"><div class="ttname"><a href="group__ch9121__base__driver.html#ga77e5d4780e16f8f820c4eaba204fd7be">ch9121_save_to_eeprom</a></div><div class="ttdeci">uint8_t ch9121_save_to_eeprom(ch9121_handle_t *handle)</div><div class="ttdoc">save to eeprom</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00343">driver_ch9121.c:343</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga7bd131a9843a9976172ae8006374014c"><div class="ttname"><a href="group__ch9121__base__driver.html#ga7bd131a9843a9976172ae8006374014c">ch9121_get_subnet_mask</a></div><div class="ttdeci">uint8_t ch9121_get_subnet_mask(ch9121_handle_t *handle, uint8_t mask[4])</div><div class="ttdoc">get subnet mask</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00754">driver_ch9121.c:754</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga93c63b2979c6397cb38c28253a4bc329"><div class="ttname"><a href="group__ch9121__base__driver.html#ga93c63b2979c6397cb38c28253a4bc329">ch9121_set_uart_config</a></div><div class="ttdeci">uint8_t ch9121_set_uart_config(ch9121_handle_t *handle, ch9121_port_t port, uint8_t data_bit, ch9121_parity_t parity, uint8_t stop_bit)</div><div class="ttdoc">set uart config</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01219">driver_ch9121.c:1219</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga96cfac2dc742c18219de2263f7cd9ca5"><div class="ttname"><a href="group__ch9121__base__driver.html#ga96cfac2dc742c18219de2263f7cd9ca5">ch9121_status_t</a></div><div class="ttdeci">ch9121_status_t</div><div class="ttdoc">ch9121 status enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00087">driver_ch9121.h:88</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga9b20f132d6d27a08e68ac0693524643a"><div class="ttname"><a href="group__ch9121__base__driver.html#ga9b20f132d6d27a08e68ac0693524643a">ch9121_get_dest_ip</a></div><div class="ttdeci">uint8_t ch9121_get_dest_ip(ch9121_handle_t *handle, ch9121_port_t port, uint8_t ip[4])</div><div class="ttdoc">get dest ip</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00995">driver_ch9121.c:995</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ga9f919b38ab9a62a8d4284b172a52d568"><div class="ttname"><a href="group__ch9121__base__driver.html#ga9f919b38ab9a62a8d4284b172a52d568">ch9121_get_uart_config</a></div><div class="ttdeci">uint8_t ch9121_get_uart_config(ch9121_handle_t *handle, ch9121_port_t port, uint8_t *data_bit, ch9121_parity_t *parity, uint8_t *stop_bit)</div><div class="ttdoc">get uart config</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01266">driver_ch9121.c:1266</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaa237c01198f7eefe10d865ae5acef0f8"><div class="ttname"><a href="group__ch9121__base__driver.html#gaa237c01198f7eefe10d865ae5acef0f8">ch9121_port_t</a></div><div class="ttdeci">ch9121_port_t</div><div class="ttdoc">ch9121 port enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00069">driver_ch9121.h:70</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaa2ebeccee89d188def4cd04451590e17"><div class="ttname"><a href="group__ch9121__base__driver.html#gaa2ebeccee89d188def4cd04451590e17">ch9121_uart_timeout_convert_to_register</a></div><div class="ttdeci">uint8_t ch9121_uart_timeout_convert_to_register(ch9121_handle_t *handle, uint16_t ms, uint8_t *reg)</div><div class="ttdoc">convert the uart timeout to the register raw data</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01399">driver_ch9121.c:1399</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaa58f8a9bc5ea8ba90f7b4a176900c687"><div class="ttname"><a href="group__ch9121__base__driver.html#gaa58f8a9bc5ea8ba90f7b4a176900c687">ch9121_set_subnet_mask</a></div><div class="ttdeci">uint8_t ch9121_set_subnet_mask(ch9121_handle_t *handle, uint8_t mask[4])</div><div class="ttdoc">set subnet mask</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00716">driver_ch9121.c:716</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaaea8304fd7622328628752547f3e72cf"><div class="ttname"><a href="group__ch9121__base__driver.html#gaaea8304fd7622328628752547f3e72cf">ch9121_set_domain</a></div><div class="ttdeci">uint8_t ch9121_set_domain(ch9121_handle_t *handle, char *domain)</div><div class="ttdoc">set chip domain</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01655">driver_ch9121.c:1655</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gab9677250e33483d30b61089ccc8884e7"><div class="ttname"><a href="group__ch9121__base__driver.html#gab9677250e33483d30b61089ccc8884e7">ch9121_get_uart_baud</a></div><div class="ttdeci">uint8_t ch9121_get_uart_baud(ch9121_handle_t *handle, ch9121_port_t port, uint32_t *baud)</div><div class="ttdoc">get uart baud</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01172">driver_ch9121.c:1172</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gabf684cf8b18467676b86d14aa9bcdf61"><div class="ttname"><a href="group__ch9121__base__driver.html#gabf684cf8b18467676b86d14aa9bcdf61">ch9121_set_uart_timeout</a></div><div class="ttdeci">uint8_t ch9121_set_uart_timeout(ch9121_handle_t *handle, ch9121_port_t port, uint8_t timeout)</div><div class="ttdoc">set uart timeout</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01312">driver_ch9121.c:1312</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gac350933b6954437b6f0f5a79806614f1"><div class="ttname"><a href="group__ch9121__base__driver.html#gac350933b6954437b6f0f5a79806614f1">ch9121_set_gateway</a></div><div class="ttdeci">uint8_t ch9121_set_gateway(ch9121_handle_t *handle, uint8_t ip[4])</div><div class="ttdoc">set gateway</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00788">driver_ch9121.c:788</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gac44d822e00e68aa0f6827cdd6ffc8de1"><div class="ttname"><a href="group__ch9121__base__driver.html#gac44d822e00e68aa0f6827cdd6ffc8de1">ch9121_set_source_port</a></div><div class="ttdeci">uint8_t ch9121_set_source_port(ch9121_handle_t *handle, ch9121_port_t port, uint16_t num)</div><div class="ttdoc">set source port</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00861">driver_ch9121.c:861</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gad17c12e1cc279fbeb0d7604311dc3796"><div class="ttname"><a href="group__ch9121__base__driver.html#gad17c12e1cc279fbeb0d7604311dc3796">ch9121_set_port2</a></div><div class="ttdeci">uint8_t ch9121_set_port2(ch9121_handle_t *handle, ch9121_bool_t enable)</div><div class="ttdoc">enable or disable uart port2</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01585">driver_ch9121.c:1585</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gad79a97224fb88e872af00e62a34883b2"><div class="ttname"><a href="group__ch9121__base__driver.html#gad79a97224fb88e872af00e62a34883b2">ch9121_get_version</a></div><div class="ttdeci">uint8_t ch9121_get_version(ch9121_handle_t *handle, uint8_t *version)</div><div class="ttdoc">get version</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00276">driver_ch9121.c:276</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gad8a38b0c407658283a7fe74267e30bb3"><div class="ttname"><a href="group__ch9121__base__driver.html#gad8a38b0c407658283a7fe74267e30bb3">ch9121_set_dest_port</a></div><div class="ttdeci">uint8_t ch9121_set_dest_port(ch9121_handle_t *handle, ch9121_port_t port, uint16_t num)</div><div class="ttdoc">set dest port</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01038">driver_ch9121.c:1038</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gae09655171b845f0b82c0d5f5fb64b020"><div class="ttname"><a href="group__ch9121__base__driver.html#gae09655171b845f0b82c0d5f5fb64b020">ch9121_exit</a></div><div class="ttdeci">uint8_t ch9121_exit(ch9121_handle_t *handle)</div><div class="ttdoc">exit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00410">driver_ch9121.c:410</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gae24e26beb237e4cd3e71fff9af24a6bb"><div class="ttname"><a href="group__ch9121__base__driver.html#gae24e26beb237e4cd3e71fff9af24a6bb">ch9121_get_mode</a></div><div class="ttdeci">uint8_t ch9121_get_mode(ch9121_handle_t *handle, ch9121_port_t port, ch9121_mode_t *mode)</div><div class="ttdoc">get mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00601">driver_ch9121.c:601</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gae739f01edc3fdd207a5a038b93f848d1"><div class="ttname"><a href="group__ch9121__base__driver.html#gae739f01edc3fdd207a5a038b93f848d1">ch9121_get_status</a></div><div class="ttdeci">uint8_t ch9121_get_status(ch9121_handle_t *handle, ch9121_port_t port, ch9121_status_t *status)</div><div class="ttdoc">get status</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00514">driver_ch9121.c:514</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaec01c7865245fda2b9ffb382cecd8a1e"><div class="ttname"><a href="group__ch9121__base__driver.html#gaec01c7865245fda2b9ffb382cecd8a1e">ch9121_get_source_port</a></div><div class="ttdeci">uint8_t ch9121_get_source_port(ch9121_handle_t *handle, ch9121_port_t port, uint16_t *num)</div><div class="ttdoc">get source port</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00905">driver_ch9121.c:905</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaef0c2eaab67024a3ffaf84e46dcf5146"><div class="ttname"><a href="group__ch9121__base__driver.html#gaef0c2eaab67024a3ffaf84e46dcf5146">ch9121_set_uart_buffer_length</a></div><div class="ttdeci">uint8_t ch9121_set_uart_buffer_length(ch9121_handle_t *handle, ch9121_port_t port, uint32_t len)</div><div class="ttdoc">set uart buffer length</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01497">driver_ch9121.c:1497</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaef57bbffd080f9ba360f2e1e54f15d36"><div class="ttname"><a href="group__ch9121__base__driver.html#gaef57bbffd080f9ba360f2e1e54f15d36">ch9121_get_mac</a></div><div class="ttdeci">uint8_t ch9121_get_mac(ch9121_handle_t *handle, uint8_t mac[6])</div><div class="ttdoc">get chip mac</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l00479">driver_ch9121.c:479</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gaf5607dae69f7c7df32f11ae4c3b4a376"><div class="ttname"><a href="group__ch9121__base__driver.html#gaf5607dae69f7c7df32f11ae4c3b4a376">ch9121_write</a></div><div class="ttdeci">uint8_t ch9121_write(ch9121_handle_t *handle, uint8_t *buf, uint16_t len)</div><div class="ttdoc">write data</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01895">driver_ch9121.c:1895</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga07220e3de8bd64e49f66fa5b10a0e80ea681a6976b74755d5de27c6e3348a6771"><div class="ttname"><a href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea681a6976b74755d5de27c6e3348a6771">CH9121_PARITY_EVEN</a></div><div class="ttdeci">@ CH9121_PARITY_EVEN</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00109">driver_ch9121.h:109</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga07220e3de8bd64e49f66fa5b10a0e80ea6edd8794ba8b703e9c6ff4d6252ba69f"><div class="ttname"><a href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea6edd8794ba8b703e9c6ff4d6252ba69f">CH9121_PARITY_MARK</a></div><div class="ttdeci">@ CH9121_PARITY_MARK</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00111">driver_ch9121.h:111</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga07220e3de8bd64e49f66fa5b10a0e80ea7f51ff40bf41962fef63d2885c50adab"><div class="ttname"><a href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80ea7f51ff40bf41962fef63d2885c50adab">CH9121_PARITY_ODD</a></div><div class="ttdeci">@ CH9121_PARITY_ODD</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00110">driver_ch9121.h:110</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga07220e3de8bd64e49f66fa5b10a0e80eae332f48bf918e608fe4ce6c4cfc7b18f"><div class="ttname"><a href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80eae332f48bf918e608fe4ce6c4cfc7b18f">CH9121_PARITY_SPACE</a></div><div class="ttdeci">@ CH9121_PARITY_SPACE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00112">driver_ch9121.h:112</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga07220e3de8bd64e49f66fa5b10a0e80eae92b585a2a716954404ccca52a44b116"><div class="ttname"><a href="group__ch9121__base__driver.html#gga07220e3de8bd64e49f66fa5b10a0e80eae92b585a2a716954404ccca52a44b116">CH9121_PARITY_NONE</a></div><div class="ttdeci">@ CH9121_PARITY_NONE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00113">driver_ch9121.h:113</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga072a08d5a76de43c772438883775ae8ea1bfd3219c201035143f8d61b0d188a11"><div class="ttname"><a href="group__ch9121__base__driver.html#gga072a08d5a76de43c772438883775ae8ea1bfd3219c201035143f8d61b0d188a11">CH9121_BOOL_FALSE</a></div><div class="ttdeci">@ CH9121_BOOL_FALSE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00080">driver_ch9121.h:80</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga072a08d5a76de43c772438883775ae8ea776657b5ef1ad43c3a3f1e52a00abe22"><div class="ttname"><a href="group__ch9121__base__driver.html#gga072a08d5a76de43c772438883775ae8ea776657b5ef1ad43c3a3f1e52a00abe22">CH9121_BOOL_TRUE</a></div><div class="ttdeci">@ CH9121_BOOL_TRUE</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00081">driver_ch9121.h:81</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga1885e76e565351e002b873668e4a9d16a4775481c1370e70fa78ef7846424f8e0"><div class="ttname"><a href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16a4775481c1370e70fa78ef7846424f8e0">CH9121_MODE_UDP_SERVER</a></div><div class="ttdeci">@ CH9121_MODE_UDP_SERVER</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00100">driver_ch9121.h:100</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga1885e76e565351e002b873668e4a9d16aadc6c8b1f132f07caf14d1349be24598"><div class="ttname"><a href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16aadc6c8b1f132f07caf14d1349be24598">CH9121_MODE_TCP_SERVER</a></div><div class="ttdeci">@ CH9121_MODE_TCP_SERVER</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00098">driver_ch9121.h:98</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga1885e76e565351e002b873668e4a9d16ab66dffa5b1e5f60f96e91f3909bc9cf8"><div class="ttname"><a href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16ab66dffa5b1e5f60f96e91f3909bc9cf8">CH9121_MODE_TCP_CLIENT</a></div><div class="ttdeci">@ CH9121_MODE_TCP_CLIENT</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00099">driver_ch9121.h:99</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga1885e76e565351e002b873668e4a9d16ac076c7cf5ed640ca07f9698fbfd17eda"><div class="ttname"><a href="group__ch9121__base__driver.html#gga1885e76e565351e002b873668e4a9d16ac076c7cf5ed640ca07f9698fbfd17eda">CH9121_MODE_UDP_CLIENT</a></div><div class="ttdeci">@ CH9121_MODE_UDP_CLIENT</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00101">driver_ch9121.h:101</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga96cfac2dc742c18219de2263f7cd9ca5ad6c9da3731fc5e4c0512207ffab0c351"><div class="ttname"><a href="group__ch9121__base__driver.html#gga96cfac2dc742c18219de2263f7cd9ca5ad6c9da3731fc5e4c0512207ffab0c351">CH9121_STATUS_CONNECT</a></div><div class="ttdeci">@ CH9121_STATUS_CONNECT</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00090">driver_ch9121.h:90</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_gga96cfac2dc742c18219de2263f7cd9ca5af8d0734b6b03a6a7d13b653163d00271"><div class="ttname"><a href="group__ch9121__base__driver.html#gga96cfac2dc742c18219de2263f7cd9ca5af8d0734b6b03a6a7d13b653163d00271">CH9121_STATUS_DISCONNECT</a></div><div class="ttdeci">@ CH9121_STATUS_DISCONNECT</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00089">driver_ch9121.h:89</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ggaa237c01198f7eefe10d865ae5acef0f8a2d106209a49642e1fc14c3d0d50dfd0b"><div class="ttname"><a href="group__ch9121__base__driver.html#ggaa237c01198f7eefe10d865ae5acef0f8a2d106209a49642e1fc14c3d0d50dfd0b">CH9121_PORT2</a></div><div class="ttdeci">@ CH9121_PORT2</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00072">driver_ch9121.h:72</a></div></div>
<div class="ttc" id="agroup__ch9121__base__driver_html_ggaa237c01198f7eefe10d865ae5acef0f8aff6d2cff524167d0f2643bbcf984ea4f"><div class="ttname"><a href="group__ch9121__base__driver.html#ggaa237c01198f7eefe10d865ae5acef0f8aff6d2cff524167d0f2643bbcf984ea4f">CH9121_PORT1</a></div><div class="ttdeci">@ CH9121_PORT1</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00071">driver_ch9121.h:71</a></div></div>
<div class="ttc" id="agroup__ch9121__extend__driver_html_gaab68bb8fb0ed1e297469474d1f591d41"><div class="ttname"><a href="group__ch9121__extend__driver.html#gaab68bb8fb0ed1e297469474d1f591d41">ch9121_set_command</a></div><div class="ttdeci">uint8_t ch9121_set_command(ch9121_handle_t *handle, uint8_t *param, uint16_t len, uint8_t *out, uint16_t out_len, uint16_t pre_delay, uint16_t timeout)</div><div class="ttdoc">set command</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8c_source.html#l01975">driver_ch9121.c:1975</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html"><div class="ttname"><a href="structch9121__handle__s.html">ch9121_handle_s</a></div><div class="ttdoc">ch9121 handle structure definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00119">driver_ch9121.h:120</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a1926b171e2786f52634d78953df6612a"><div class="ttname"><a href="structch9121__handle__s.html#a1926b171e2786f52634d78953df6612a">ch9121_handle_s::uart_flush</a></div><div class="ttdeci">uint8_t(* uart_flush)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00124">driver_ch9121.h:124</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a19bedf28d2b9748f6a62d9ae93f4e68f"><div class="ttname"><a href="structch9121__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f">ch9121_handle_s::inited</a></div><div class="ttdeci">uint8_t inited</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00134">driver_ch9121.h:134</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a1e401eba1e551e7d52941117ee22dd60"><div class="ttname"><a href="structch9121__handle__s.html#a1e401eba1e551e7d52941117ee22dd60">ch9121_handle_s::cfg_gpio_write</a></div><div class="ttdeci">uint8_t(* cfg_gpio_write)(uint8_t data)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00131">driver_ch9121.h:131</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a280c8d239a837172fc2fee6eaec7edff"><div class="ttname"><a href="structch9121__handle__s.html#a280c8d239a837172fc2fee6eaec7edff">ch9121_handle_s::uart_write</a></div><div class="ttdeci">uint8_t(* uart_write)(uint8_t *buf, uint16_t len)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00125">driver_ch9121.h:125</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a406c9433252b7366de417b7a60915c81"><div class="ttname"><a href="structch9121__handle__s.html#a406c9433252b7366de417b7a60915c81">ch9121_handle_s::delay_ms</a></div><div class="ttdeci">void(* delay_ms)(uint32_t ms)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00132">driver_ch9121.h:132</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a5445edc92e4f3073c043256cc2b6abe3"><div class="ttname"><a href="structch9121__handle__s.html#a5445edc92e4f3073c043256cc2b6abe3">ch9121_handle_s::cfg_gpio_init</a></div><div class="ttdeci">uint8_t(* cfg_gpio_init)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00129">driver_ch9121.h:129</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a57faa7438fdabb6134dabb8b386707a8"><div class="ttname"><a href="structch9121__handle__s.html#a57faa7438fdabb6134dabb8b386707a8">ch9121_handle_s::uart_deinit</a></div><div class="ttdeci">uint8_t(* uart_deinit)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00122">driver_ch9121.h:122</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a69c42ff05fc69e3f1621f3c0347a840b"><div class="ttname"><a href="structch9121__handle__s.html#a69c42ff05fc69e3f1621f3c0347a840b">ch9121_handle_s::reset_gpio_deinit</a></div><div class="ttdeci">uint8_t(* reset_gpio_deinit)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00127">driver_ch9121.h:127</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a769d5b3a6c14790a0e126e8fe70b384b"><div class="ttname"><a href="structch9121__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b">ch9121_handle_s::debug_print</a></div><div class="ttdeci">void(* debug_print)(const char *const fmt,...)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00133">driver_ch9121.h:133</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_a9f6681bb2ac30875d94d016ad0137ab2"><div class="ttname"><a href="structch9121__handle__s.html#a9f6681bb2ac30875d94d016ad0137ab2">ch9121_handle_s::uart_read</a></div><div class="ttdeci">uint16_t(* uart_read)(uint8_t *buf, uint16_t len)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00123">driver_ch9121.h:123</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_aa264e23f5c4ddd7a9bfa5cd9e387e013"><div class="ttname"><a href="structch9121__handle__s.html#aa264e23f5c4ddd7a9bfa5cd9e387e013">ch9121_handle_s::reset_gpio_init</a></div><div class="ttdeci">uint8_t(* reset_gpio_init)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00126">driver_ch9121.h:126</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_aa2665ebcc94066966583ee7c2c754862"><div class="ttname"><a href="structch9121__handle__s.html#aa2665ebcc94066966583ee7c2c754862">ch9121_handle_s::buf</a></div><div class="ttdeci">uint8_t buf[128]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00135">driver_ch9121.h:135</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_ad6e221373f53cf56fdeec9c64bbc6423"><div class="ttname"><a href="structch9121__handle__s.html#ad6e221373f53cf56fdeec9c64bbc6423">ch9121_handle_s::uart_init</a></div><div class="ttdeci">uint8_t(* uart_init)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00121">driver_ch9121.h:121</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_ae88962c62483f005e4930e9ca4b00981"><div class="ttname"><a href="structch9121__handle__s.html#ae88962c62483f005e4930e9ca4b00981">ch9121_handle_s::reset_gpio_write</a></div><div class="ttdeci">uint8_t(* reset_gpio_write)(uint8_t data)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00128">driver_ch9121.h:128</a></div></div>
<div class="ttc" id="astructch9121__handle__s_html_aff3aa3dbc5a9418f2e32ee48dd94b627"><div class="ttname"><a href="structch9121__handle__s.html#aff3aa3dbc5a9418f2e32ee48dd94b627">ch9121_handle_s::cfg_gpio_deinit</a></div><div class="ttdeci">uint8_t(* cfg_gpio_deinit)(void)</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00130">driver_ch9121.h:130</a></div></div>
<div class="ttc" id="astructch9121__info__s_html"><div class="ttname"><a href="structch9121__info__s.html">ch9121_info_s</a></div><div class="ttdoc">ch9121 information structure definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00141">driver_ch9121.h:142</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_a3366a5dce9b829e03c3d321c2b4df3f6"><div class="ttname"><a href="structch9121__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6">ch9121_info_s::temperature_max</a></div><div class="ttdeci">float temperature_max</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00150">driver_ch9121.h:150</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_a3d2b12bcac7a85ea8646bff9debe8660"><div class="ttname"><a href="structch9121__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660">ch9121_info_s::supply_voltage_max_v</a></div><div class="ttdeci">float supply_voltage_max_v</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00147">driver_ch9121.h:147</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_a41b0bd442708b70d252c50b92c75265a"><div class="ttname"><a href="structch9121__info__s.html#a41b0bd442708b70d252c50b92c75265a">ch9121_info_s::driver_version</a></div><div class="ttdeci">uint32_t driver_version</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00151">driver_ch9121.h:151</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_a8f9dbe66ac0b66ebae0a36fcb4ba368e"><div class="ttname"><a href="structch9121__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e">ch9121_info_s::temperature_min</a></div><div class="ttdeci">float temperature_min</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00149">driver_ch9121.h:149</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_a9db82802561bf22d799b03a345f1d1dc"><div class="ttname"><a href="structch9121__info__s.html#a9db82802561bf22d799b03a345f1d1dc">ch9121_info_s::max_current_ma</a></div><div class="ttdeci">float max_current_ma</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00148">driver_ch9121.h:148</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_ad25285dbf810c90f8eaf3fcef6f2b2ea"><div class="ttname"><a href="structch9121__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea">ch9121_info_s::manufacturer_name</a></div><div class="ttdeci">char manufacturer_name[32]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00144">driver_ch9121.h:144</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_ad8bde6ddadaf43d951e62f3befb9d35a"><div class="ttname"><a href="structch9121__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a">ch9121_info_s::supply_voltage_min_v</a></div><div class="ttdeci">float supply_voltage_min_v</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00146">driver_ch9121.h:146</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_aebaa6c28dd4f2c3dc27566fcb910fd28"><div class="ttname"><a href="structch9121__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28">ch9121_info_s::interface</a></div><div class="ttdeci">char interface[8]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00145">driver_ch9121.h:145</a></div></div>
<div class="ttc" id="astructch9121__info__s_html_af890958c72bd715cc6454a10dc846ae6"><div class="ttname"><a href="structch9121__info__s.html#af890958c72bd715cc6454a10dc846ae6">ch9121_info_s::chip_name</a></div><div class="ttdeci">char chip_name[32]</div><div class="ttdef"><b>Definition:</b> <a href="driver__ch9121_8h_source.html#l00143">driver_ch9121.h:143</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="driver__ch9121_8h.html">driver_ch9121.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
